//
//  WYCrepayHeadViewController.h
//  51信用卡
//
//  Created by 王晓民 on 2018/3/15.
//  Copyright © 2018年 中企互联. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "WYCremayLationModel.h"

@protocol WYCHeaderFooterViewDelegate <NSObject>
- (void)reloadTableView;
@end
@interface WYCrepayHeadView : UITableViewHeaderFooterView
@property (strong,nonatomic) WYCremayLationModel * group;

@property (weak,nonatomic) id <WYCHeaderFooterViewDelegate> delegate;

/** 月份账单*/
@property(nonatomic,strong)UILabel * MonthLabel;

/** 日期*/
@property(nonatomic,strong)UILabel * TimeLabel;

/** 金额《钱》*/
@property(nonatomic,strong)UILabel * NumberLabel;

/** 账单金额《钱》*/
@property(nonatomic,strong)UILabel * MoneyLabel;

/** 闭合*/
@property(nonatomic,strong)UIButton * OpenButton;


/** 是否展开*/
@property (nonatomic, assign) BOOL isOpen;


+(instancetype)headFootViewTableView:(UITableView *)tableView section:(NSInteger)section;
@end
